package net.sx.minemodule.mvp.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * https://github.com/CymChad/BaseRecyclerViewAdapterHelper
 *
 * adapter多类型数据包装类
 */
public class SectionMultipleItem extends SectionMultiEntity<OrderListDetailBean.OrderProductsBean> implements MultiItemEntity {

    public static final int CONTENT = 1;
    public static final int CONTENT_ADDITION = 2;
    public static final int CONTENT_RECEIVE = 3;
    private int itemType;
    public OrderListDetailBean orderListDetailBean;
    private OrderListDetailBean.OrderProductsBean orderProductsBean;

    public SectionMultipleItem(boolean isHeader, OrderListDetailBean orderListDetailBean) {
        super(isHeader, orderListDetailBean);
    }

    public SectionMultipleItem(int itemType, OrderListDetailBean.OrderProductsBean orderProductsBean) {
        super(orderProductsBean);
        this.orderProductsBean = orderProductsBean;
        this.itemType = itemType;
    }

    public OrderListDetailBean getOrderListDetailBean() {
        return orderListDetailBean;
    }

    public void setOrderListDetailBean(OrderListDetailBean orderListDetailBean) {
        this.orderListDetailBean = orderListDetailBean;
    }

    public OrderListDetailBean.OrderProductsBean getOrderProductsBean() {
        return orderProductsBean;
    }

    public void setOrderProductsBean(OrderListDetailBean.OrderProductsBean orderProductsBean) {
        this.orderProductsBean = orderProductsBean;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
